package com.big.app.controller;


import com.big.app.service.intf.PlayService;
import com.big.app.vo1.R;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/api/play/")
@CrossOrigin
@Api(value = "实现休闲娱乐相关操作",tags = "实现休闲娱乐相关操作")
public class PlayController {

    @Resource
    private PlayService service;

    @GetMapping("query.do")
    public R query() {
        return service.queryPlayTop();
    }
}

